<?php
if(isset($downloadurl)) {
	echo $downloadurl.'<br />';
	echo $html->link("Test download here", str_replace('#HREF#',$downloadurl,$urlpattern));
	
	} else {
	echo "No results found - check your XPath";
}
?>